package com.xdb.sqlparser.dialect.oracle.ast.statement;

import com.xdb.sqlparser.ast.AbstractSQLStatementImpl;
import com.xdb.sqlparser.dialect.oracle.visitor.OracleASTVisitor;
import com.xdb.sqlparser.util.SQLUtils;
import com.xdb.sqlparser.visitor.SQLAstVisitor;
import com.xdb.util.JDBCConstants;

public abstract class OracleStatementImpl extends AbstractSQLStatementImpl implements OracleStatement {

	public OracleStatementImpl() {
		super(JDBCConstants.ORACLE);
	}

	protected void accept0(SQLAstVisitor visitor) {
		accept0((OracleASTVisitor) visitor);
	}

	public abstract void accept0(OracleASTVisitor visitor);

	public String toString() {
		return SQLUtils.toOracleString(this);
	}
}
